﻿using GPS.DataAccessLayer;
using PagedList;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GPS.ENTITYS
{
    public class ViewModelDDTTN
    {
        public int? Page { get; set; }
        public string DTTN_MA { get; set; }
        public string DTTN_KH_MA { get; set; }
        public string DTTN_DVGTVT_MA { get; set; }
        public string DTTN_KH_LOP_MA { get; set; }
        public string DTTN_HV_MA { get; set; }
        public string DTTN_HGPLX_MA { get; set; }

        public IPagedList<ViewDDTTN> SearchResults { get; set; }
    }

    public class ViewDDTTN
    {
        public string DTTN_KH_MA { get; set; }
        public string DTTN_DVGTVT_MA { get; set; }
        public string DTTN_DVGTVT_TEN { get; set; }
        public string DTTN_KH_LOP_MA { get; set; }
        public string DTTN_HV_MA { get; set; }
        public string DTTN_HV_HOTEN { get; set; }
        public string DTTN_HGPLX_MA { get; set; }
        public string DTTN_HANGDT_MA { get; set; }
        public DateTime? DTTN_NGAYNHAP { get; set; }
        public string DTTN_NGUOINHAP { get; set; }
        public DateTime? DTTN_NGAYSUA { get; set; }
        public string DTTN_NGUOISUA { get; set; }
    }
}
